<!-- 
<ol class="breadcrumb">
  <li><a href="#">Account settings</a></li>
  <li><a href="#">Library</a></li>
  <li class="active">Data</li>
</ol>
 -->
 <div class="padding-all ">
 <div ng-include src="'/ksr/partials/breadcrumb.htm'"></div>
 </div>
 <div class="padding-all ">
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">
    <span class="bold capitalize">Events overview for {{business.businessName}}</span>
  </div>
  <!-- List group -->
  <ul class="list-group">
    <li class="list-group-item">
      <a href="#/add-business-event/new" class="block">Add an event</a>
      <div>Add a new event to your business</div>
    </li>
    <li class="list-group-item" ng-repeat="event in events" ng-if="events.length>0">
      <a ng-href="#/manage-business-event/{{event.id}}" class="block">{{event.eventName}}</a>
      <div>Edit event, edit/add event schedules,etc</div>
    </li>
  </ul>
</div>

 </div>
 <br/>
 events:<pre ng-if="events.length>0" ng-bind="events | json"></pre>
 <!-- 
 business:<pre ng-if="events.length==0" ng-bind="business | json"></pre>
  -->